LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := optional

#指定Java源码路径
LOCAL_SRC_FILES := $(call all-java-files-under, app)

src_dirs :=app/src/main/
#指定Res路径
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/$(src_dirs)/res

#指定清单配置文件
LOCAL_FULL_MANIFEST_FILE := $(LOCAL_PATH)/$(src_dirs)/AndroidManifest.xml
LOCAL_PACKAGE_NAME := IdeaCameraTest
#编译system/priv-app
LOCAL_PRIVILEGED_MODULE  :=true
LOCAL_SDK_VERSION := current 
#添加依赖
LOCAL_STATIC_JAVA_LIBRARIES := androidx-constraintlayout_constraintlayout \
                               androidx.appcompat_appcompat
include $(BUILD_PACKAGE)
